/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Entities;

/**
 *
 * @author dwana
 */
public class Encrypter {

    public static String EncryptPassword(String password) {
        return "123" + password + "123";
    }

    public static String Shaa1(String password) {
        byte[] asciiBytes = password.getBytes();
        byte[] asciiBytesLetter;
        password = "";
        for (byte b : asciiBytes) {
            asciiBytesLetter = (new byte[]{b});

            for (byte bl : asciiBytesLetter) {
                password += bl;
            }
        }
        return password;
    }
}
